package au.com.iglootech.TaxTimeToolTip.ui.invoice;

import au.com.iglootech.TaxTimeToolTip.ui.fillupform.FillUpTimeSheetTab;
import au.com.iglootech.TaxTimeToolTip.ui.fillupform.TodayTimeSheetTab;

import com.vaadin.ui.CustomComponent;
import com.vaadin.ui.Panel;
import com.vaadin.ui.TabSheet;
import com.vaadin.ui.VerticalLayout;

public class InvoiceTaxPage extends CustomComponent {
	VerticalLayout mainLayout = new VerticalLayout();


	public InvoiceTaxPage() {

		initContent();
	}

	private void initContent() {
		Panel panel = new Panel();
		TabSheet ts = new TabSheet();
		ts.setSizeFull();
		ts.addStyleName("bar");
		ts.addComponent(new InvoiceTaxTab());
		panel.addComponent(ts);
		mainLayout.addComponent(panel);
		this.setCompositionRoot(mainLayout);
	}
}